<?php

namespace App\Http\Requests\Admin\CompanyOrder;

use App\Http\Requests\Request;

class CompanyOrderRequest extends Request{
    public function authorize(){
        return true;
    }

    public function rules(){
        return [
            'money' => 'required',
            'money' => 'numeric'
        ];
    }

    public function messages(){
        return [
            'money.required' => '请填写定单金额',
            'money.numeric' => '请正确填写定单金额(exp:88.00)'
        ];
    }
}
